package com.jrx.anytxn.accounting.mapper.ext;

import com.jrx.anytxn.accounting.entity.GaProductSummaryTransition;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @program: anytxn-cf-accounting
 * @description:
 * @author: xiaoyu.jing
 * @date: 2019-12-07 15:25
 **/
public interface ExtGaProductSummaryTransitionMapper {
    int batchInsert(List<GaProductSummaryTransition> list);

    List<GaProductSummaryTransition> selectByDate(@Param("bussinessDate") Date today);

    void deleteByDate(Date businessDate);

    GaProductSummaryTransition selectByDateAndProductId(@Param("bussinessDate") Date today,
                                            @Param("productId") String productId);

}
